import {defineStore} from "pinia";

export const useParamsStore = defineStore({
    id: 'paramsStore',
    state: () => ({
        // 参数字典集合
        treeData: [],
    }),
    getters: {
        getTreeData(): any {
            return this.treeData
        }
    },
    actions: {
        setValue(value: any) {
            this.treeData = value
        }
    }
})

